import requests

from api.api_approve_trust import ApiApproveTrust
from api.api_invest import ApiInvest
from api.api_recharge import ApiRecharge
from api.api_register_login import ApiRegisterLogin


class ApiFactory:
    def __init__(self,session):
        self.session = session

    # 获取注册登录Api对象
    def get_api_register_login(self):
        return ApiRegisterLogin(self.session)
    # 获取认证Api对象
    def get_api_approve_trust(self):
        return ApiApproveTrust(self.session)
    # 获取开户充值对象
    def get_api_recharge(self):
        return ApiRecharge(self.session)
    # 获取投资对象
    def get_api_invest(self):
        return ApiInvest(self.session)